home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Frameworks / Sprocket Framework DR2 / Sprocket Starter / SprocketStarter Code / MPPreferencesDialogWindow.h < prev    next >
Text File  |  1996-05-30  |  834b  |  41 lines

  1. // Sprocket Framework header file
  2. // PreferencesDialogWindow.h
  3.  
  4. #ifndef        _MPPREFERENCESDIALOGWINDOW_
  5. #define        _MPPREFERENCESDIALOGWINDOW_
  6.  
  7. #ifndef        _MULTIPANELDIALOGWINDOW_
  8. #include    "MultiPanelDialogWindow.h"
  9. #endif
  10.  
  11.  
  12. //    Information about the dialog ID we are using.
  13.  
  14. const DialogTemplateID    kMPPreferencesDialogTemplateID = 1030;
  15.  
  16.  
  17. class    TMPPreferencesDialogWindow    :    public TMultiPanelDialogWindow
  18. {
  19. public:
  20.                         TMPPreferencesDialogWindow();
  21.  
  22.     virtual    void        ItemHit(short theItem);
  23.  
  24.     virtual OSErr        IMultiPanelDialogWindow(short defaultPanel, short guideItem, short panelSelectorItem);
  25.  
  26.  
  27.     virtual void        InitPanel(short thePanel);
  28.     virtual void        ClickInPanel(short thePanel, short theItem);
  29.     virtual void        ExitPanel(short thePanel);
  30.  
  31.  
  32.     virtual void        AdjustMenusBeforeMenuSelection(void);
  33. };
  34.  
  35. #endif
  36.  
  37.  
  38. enum
  39. {
  40.     cMPPreferences    =    5432
  41. };